package com.allqj.sfx.ddd.member.domain.entity.flow;

import com.allqj.sfx.domain.entity.BaseEntity;

/**
 * @author sjw
 * @className FlowInstance
 * @date 2022/7/21 18:47
 * @description: 审批流-流程实例
 */
public class FlowInstance extends BaseEntity {
    private Integer id;
    // 流程定义id
    private Integer flowDefId;
    // 流程实例——当前激活任务
    private Integer activeTaskId = 0;
    // 状态
    private Integer status;
    // 业务方扩展参数
    private String extParam;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFlowDefId() {
        return flowDefId;
    }

    public void setFlowDefId(Integer flowDefId) {
        this.flowDefId = flowDefId;
    }

    public Integer getActiveTaskId() {
        return activeTaskId;
    }

    public void setActiveTaskId(Integer activeTaskId) {
        this.activeTaskId = activeTaskId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getExtParam() {
        return extParam;
    }

    public void setExtParam(String extParam) {
        this.extParam = extParam;
    }
}
